@mixin wh($w, $h) {
  width: $w;
  height: $h;
}
.center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.todo-box {
  box-sizing: border-box;
  @include wh(654px, 50vh);
  margin: 0 auto;
  header {
    font-size: 26px;
    font-weight: 800;
    color: #3d773e;
    text-align: center;
    line-height: 70px;
  }
  .header {
    height: 150px;
    background-color: #dff0d8;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 1px solid #d7ecce;

    h1,
    p {
      margin: 0;
      color: #3d773e;
    }
    h1 {
      font-size: 26px;
    }

    p {
      font-size: 14px;
    }
    .add-record {
      height: 40px;
      border: 1px solid #c5c4c5;
      border-radius: 6px;
      display: flex;

      div {
        width: 65px;
        background-color: #eeeeee;
        @extend .center;
      }

      div:first-of-type {
        border-radius: 6px 0 0 6px;
        border-right: 1px solid #c5c4c5;
        select {
          height: 100%;
          width: 100%;
          border: none;
          outline: none;
          border-radius: 6px 0 0 6px;
        }
      }

      div:last-of-type {
        border-radius: 0 6px 6px 0;
        border-left: 1px solid #c5c4c5;
        cursor: pointer;
      }

      input {
        flex: 1;
        border: none;
        outline: none;
        padding-left: 20px;
        box-sizing: border-box;
      }
    }
  }
}
